import request from '@/utils/request'

// 查询V2市政公厕管养列表
export function listToiletImpDetailV2(query) {
  return request({ url: '/toiletv2/toiletImpDetailV2/list', method: 'get', params: query })
}

// 查询V2市政公厕管养详细
export function getToiletImpDetailV2(id) {
  return request({ url: '/toiletv2/toiletImpDetailV2/' + id, method: 'get' })
}

// 新增V2市政公厕管养
export function addToiletImpDetailV2(data) {
  return request({ url: '/toiletv2/toiletImpDetailV2', method: 'post', data: data })
}

// 修改V2市政公厕管养
export function updateToiletImpDetailV2(data) {
  return request({ url: '/toiletv2/toiletImpDetailV2', method: 'put', data: data })
}

// 删除V2市政公厕管养
export function delToiletImpDetailV2(id) {
  return request({ url: '/toiletv2/toiletImpDetailV2/' + id, method: 'delete' })
}
